package com.woupla.model;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.validation.constraints.NotNull;



/**
 * Entity implementation class for Entity: Customer
 *
 */
@NamedQueries({		
	})
@Entity
public class Employee extends User implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5968815302119021424L;

	@NotNull
	@ManyToOne
	private Company company;
	
	public Employee() {
		super();
	}

	/**
	 * @return the company
	 */
	public Company getCompany() {
		return company;
	}

	/**
	 * @param company the company to set
	 */
	public void setCompany(Company company) {
		this.company = company;
	}
   
}
